package oakclub.global;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

public class Config
{
    private static Properties props;

    public static void read(String file) throws IOException
    {
        FileInputStream input = new FileInputStream(file);
        props = new Properties();
        props.load(input);
        input.close();
    }

    public static String get(String key)
    {
        return props.getProperty(key);
    }
}
